package cn.topevery.garden.dal.dao;

import cn.topevery.garden.entity.po.Equipment;
import cn.topevery.garden.entity.query.EquipmentQuery;
import cn.topevery.garden.entity.vo.EquipmentVO;
import cn.topevery.garden.framework.base.BaseDao;
import hw.topevery.framework.db.entity.DataPager;

import java.util.List;

/**
 * 
 *
 * @author code-generate
 * @date 2022-02-23
 */
public interface EquipmentDao extends BaseDao<Equipment> {

    

    /**
     * 获取列表
     *
     * @param query
     */
    DataPager<EquipmentVO> listPage(EquipmentQuery query);

    Equipment getEntityByColumn(String key,String value);

    void checkList(List<Integer> idList, Integer checkStatus);

    DataPager<EquipmentVO> getEquipmentListByPointId(EquipmentQuery query);

    void setEquipmentStatus(List<Integer> idList, Integer callStatus);
}
